package com.cmf.myproject.dal.mybatis.model;

import com.cmf.myproject.dal.mybatis.enums.ProjectOwnerTypeEnum;
import java.io.Serializable;
import java.util.Date;

public class Project implements Serializable {
    /**
     * 
     * @mbggenerated
     */
    private Long id;

    /**
     * 项目名称
     * @mbggenerated
     */
    private String name;

    /**
     * 项目所属
     * @mbggenerated
     */
    private ProjectOwnerTypeEnum ownerType;

    /**
     * 项目开始时间
     * @mbggenerated
     */
    private Date startTime;

    /**
     * 是否可用
     * @mbggenerated
     */
    private Boolean isEnable;

    /**
     * 
     * @mbggenerated
     */
    private Date createTime;

    /**
     * 
     * @mbggenerated
     */
    private Date updateTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table project
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * 
     * @mbggenerated
     */
    public Long getId() {
        return id;
    }

    /**
     * 
     * @param id 
     * @mbggenerated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 项目名称
     * @mbggenerated
     */
    public String getName() {
        return name;
    }

    /**
     * 项目名称
     * @param name 项目名称
     * @mbggenerated
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * 项目所属
     * @mbggenerated
     */
    public ProjectOwnerTypeEnum getOwnerType() {
        return ownerType;
    }

    /**
     * 项目所属
     * @param ownerType 项目所属
     * @mbggenerated
     */
    public void setOwnerType(ProjectOwnerTypeEnum ownerType) {
        this.ownerType = ownerType;
    }

    /**
     * 项目开始时间
     * @mbggenerated
     */
    public Date getStartTime() {
        return startTime;
    }

    /**
     * 项目开始时间
     * @param startTime 项目开始时间
     * @mbggenerated
     */
    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    /**
     * 是否可用
     * @mbggenerated
     */
    public Boolean getIsEnable() {
        return isEnable;
    }

    /**
     * 是否可用
     * @param isEnable 是否可用
     * @mbggenerated
     */
    public void setIsEnable(Boolean isEnable) {
        this.isEnable = isEnable;
    }

    /**
     * 
     * @mbggenerated
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 
     * @param createTime 
     * @mbggenerated
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 
     * @mbggenerated
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 
     * @param updateTime 
     * @mbggenerated
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table project
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", ownerType=").append(ownerType);
        sb.append(", startTime=").append(startTime);
        sb.append(", isEnable=").append(isEnable);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}